package com.sgb.kjwl.model.entity.shopping;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * @author hq
 * 说明：核对订单
 * 订单采购/收货/装车/卸车/物流选择
 * 2021.05.07
 */
public class PurchasingTypeEntity implements Serializable {

//    private List<PurchasingMethod> purchasingMethod;
    private List<PaymentMethod> paymentMethod;
    private List<PaymentMethod> purchasingMethod;
    private List<PaymentBatch> paymentBatch;
    private List<Transport> transport;
    private List<Unloading> unloading;
    private List<Loading> loading;
    private List<ReceivingMethod> receivingMethod;
    private List<InstallService> installService;

//    public List<PurchasingMethod> getPurchasingMethod() {
//        return purchasingMethod;
//    }
//
//    public void setPurchasingMethod(List<PurchasingMethod> purchasingMethod) {
//        this.purchasingMethod = purchasingMethod;
//    }

    public List<PaymentMethod> getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(List<PaymentMethod> paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public List<PaymentBatch> getPaymentBatch() {
        return paymentBatch;
    }

    public void setPaymentBatch(List<PaymentBatch> paymentBatch) {
        this.paymentBatch = paymentBatch;
    }

    public List<Transport> getTransport() {
        return transport;
    }

    public void setTransport(List<Transport> transport) {
        this.transport = transport;
    }

    public List<Unloading> getUnloading() {
        return unloading;
    }

    public void setUnloading(List<Unloading> unloading) {
        this.unloading = unloading;
    }

    public List<Loading> getLoading() {
        return loading;
    }

    public void setLoading(List<Loading> loading) {
        this.loading = loading;
    }

    public List<ReceivingMethod> getReceivingMethod() {
        return receivingMethod;
    }

    public void setReceivingMethod(List<ReceivingMethod> receivingMethod) {
        this.receivingMethod = receivingMethod;
    }

    public List<InstallService> getInstallService() {
        return installService;
    }

    public void setInstallService(List<InstallService> installService) {
        this.installService = installService;
    }

    public List<PaymentMethod> getPurchasingMethod() {
        return purchasingMethod;
    }

    public void setPurchasingMethod(List<PaymentMethod> purchasingMethod) {
        this.purchasingMethod = purchasingMethod;
    }

    public static class PurchasingMethod implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class PaymentMethod implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class PaymentBatch implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class Transport implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class Unloading implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class Loading implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class ReceivingMethod implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

    public static class InstallService implements IPickerViewData, Serializable {
        /**
         * value : 卖方送达验收
         * key : 1
         */
        @SerializedName(value = "name", alternate = {"value"})
        private String name;

        @SerializedName(value = "no", alternate = {"key"})
        private String no;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }

}
